package com.yx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yx.entity.Stock;
import com.yx.vo.StockParam;

/**
 * @Classname StockMapper
 * @Date 2021/07/09 19:02
 * @Author by yx
 * @Description TODO:
 */
public interface StockMapper extends BaseMapper<Stock> {
    Integer lockGoodsStock(StockParam stockParam);

    Integer unlockGoodsStock(StockParam stockParam);
}
